package genreate;

/**
 * Created by 5406160@qq.com on LiBoWen 李博闻.
 *
 * @ClassName : GenerateMethodDemo
 * @Author : 54061
 * @Date: 2022/2/11 18:35
 */
public class GenerateMethodDemo {
    public static void main(String[] args) {
        show("Hello");
        show(new Student());
    }
    //泛型方法
    public static  <T> T show(T t){
        System.out.println("t = " + t);
        return t;
    }
}
